package run.bottle.gof23.single;

//饿汉式单例
public class Hungry {
    public Hungry() {
    }

    private final static Hungry HUNGRY = new Hungry();

    public static Hungry getInstance(){
        return HUNGRY;
    }

}
